package com.rankeiot.core.dict;


import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Title(value="权限范围",en = "DataScope")
@RequiredArgsConstructor
@Getter
public enum DataScope implements ITitleFixedDict{
    //全部允许
    ALL("1","全部","All"),
    //含有这个role roleId
    CUSTOM("2","自定义","Custom"),
    //本部门 eq
    DEPT("3","本部门","The Department"),
    //本部门及下级部门 like
    DEPT_AND_CHILD("4","本部门及下级部门","The Department And Sub Departments"),
    //自己
    SELF("5","自己","Self");


    final String value;
    final String title;
    final String en;

}
